<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>修改系统信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<link rel="stylesheet" rev="stylesheet" href="css/style.css"
	type="text/css" media="all" />
	<link rel="stylesheet" rev="stylesheet" href="css/css.css"
	type="text/css" media="all" />
<link rel="stylesheet" type="text/css"
	href="DatePicker_CN/css/ui-lightness/jquery-ui.css" />
<script src="js/jquery-1.9.0.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/WarnMessages.js"></script>
<script type="text/javascript" charset="utf-8"
	src="ueditor/editor_config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="ueditor/editor_all.js"></script>
	<script type="text/javascript">
/*****以下是表单验证****/
$(function(){
	
	$("#myform").validate({
	rules:{
			'systemInfo.systemId':{
			required:true
			},
			'systemInfo.itemValue':{
			required:true
			}
		}
	});
    });
    /*****以上是表单验证****/	
</script>
<body class="ContentBody">
	<form id="myform" action="admin/updateSysInfo" method="post" target="mainFrame">
		<div class="MainDiv">
			<table width="99%" border="0" cellpadding="0" cellspacing="0"
				class="CContent">
				<tr>
					<th class="tablestyle_title">修改系统信息</th>
				</tr>
				<tr>
					<td class="CPanel">
						<table border="0" cellpadding="0" cellspacing="0"
							style="width:100%">
							<TR>
								<TD width="100%">
									<fieldset style="height:100%;">
										<legend>修改系统信息</legend>

										<table border="0" cellpadding="2" cellspacing="1"
											width="800px">

											<tr>
												<td width="30px">&nbsp;</td>
												<td align="right" width="60px">类目名称:</td>
												<td><input name="systemInfo.systemId" type="hidden"
													class="text" value="${systemInfo.systemId }" /> <input
													type="hidden" name="systemInfo.itemName"
													value="${systemInfo.itemName }" /> ${systemInfo.itemName }
												</td>
											</tr>

											<tr>
												<td>&nbsp;</td>
												<td align="right" valign="top">类目内容:</td>
												<td><textarea id="editor" name="systemInfo.itemValue"
														rows="15" cols="95">${systemInfo.itemValue }
</textarea></td>
											</tr>
											<tr>
												<td>&nbsp;</td>
												<td>&nbsp;</td>
												<td align="center"><input type="submit" class="right-button02"  value="提交" />
													&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
													href="admin/listSysInfo">返回列表</a></td>
											</tr>
										</table>

										<br />
									</fieldset></TD>
							</TR>
							<tr>
								<td>&nbsp;</td>
							</tr>
						</TABLE></td>
				</tr>

			</TABLE>
		</div>
	</form>
</body>
</html>
<script type="text/javascript">
    //实例化编辑器
    var ue = UE.getEditor('editor');

    ue.addListener('ready',function(){
        this.focus()
    });

</script>